package st.business.tepth.business.user.busnumber.workholder.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

import st.business.tepth.R;
import st.business.tepth.business.bean.DiagnoseBean;

/**
 * @author zhangyu
 * @date 2019/2/12
 */
public class TroubleCommonAdapter extends BaseQuickAdapter<DiagnoseBean, BaseViewHolder> {
    public TroubleCommonAdapter(int layoutResId, List<DiagnoseBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, DiagnoseBean item) {
        helper.setText(R.id.tv_apply_time, item.getName());
    }
}
